<!--
 * @Author: cgl
 * @Date: 2023-06-19 10:06:51
 * @LastEditors: cgl
 * @LastEditTime: 2023-09-20 11:15:51
 * @FilePath: \public-health-emergencies-fed:\新放射\新radiation-hygiene-fe\src\views\slide\components\testItem\testItem40.vue
 * @Description: 06-DR专用检测项
 * 
 * Copyright (c) 2023 by cgl/微盛信息产业有限公司, All Rights Reserved. 
-->
<template>
  <div class="content">

		<!-- 1.固有均匀性------------------------------------------------------------------------ -->
		<div id="table1">
			<div class="innertitle">
				1.固有均匀性：
			</div>

			<div class="tip-30">
				使用模体：点源（<sup>99m</sup>Tc）；源活度：<el-input v-model="form1.sourceActivity" class="input-line"/>mCi（约20MBq）；
				源距：<el-input v-model="form1.spacing" class="input-line"/>m（5倍FOV）<br>
				每个探头总计数：6M（6.0E+06)矩阵：256×256；计数率：<el-input v-model="form1.countingRate" class="input-line"/>kcps（要求≤2.0×10<sup>4</sup>s<sup>-1</sup>）
			</div>

			<table border="1" cellspacing="0" cellpadding="0" align="center">
				<tr>
					<td colspan="4">检测项目</td>
					<td>结果</td>
				</tr>

				<tr>
					<td rowspan="8" width="10%">固有均匀性（%）</td>
					<td rowspan="4" width="15%">探头1</td>
					<td rowspan="2" width="20%">积分均匀性</td>
					<td width="20%">UFOV</td>
					<td>
						<el-input v-model="form1.integralUniformityUFOV_1" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form1.integralUniformityUFOVSymbol_1"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30% !important;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form1.integralUniformityUFOVStandard_1" class="input-line border" style="width: 30% !important;"/>
					</td>
				</tr>
				<tr>
					<td>CFOV</td>
					<td>
						<el-input v-model="form1.integralUniformityCFOV_1" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form1.integralUniformityCFOVSymbol_1"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30% !important;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form1.integralUniformityCFOVStandard_1" class="input-line border" style="width: 30% !important;"/>
					</td>
				</tr>
				<tr>
					<td rowspan="2">微分均匀性</td>
					<td>UFOV</td>
					<td>
						<el-input v-model="form1.differentialUniformityUFOV_1" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form1.differentialUniformityUFOVSymbol_1"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30% !important;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form1.differentialUniformityUFOVStandard_1" class="input-line border" style="width: 30% !important;"/>
					</td>
				</tr>
				<tr>
					<td>CFOV</td>
					<td>
						<el-input v-model="form1.differentialUniformityCFOV_1" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form1.differentialUniformityCFOVSymbol_1"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30% !important;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form1.differentialUniformityCFOVStandard_1" class="input-line border" style="width: 30% !important;"/>
					</td>
				</tr>
				<tr>
					<td rowspan="4">探头2</td>
					<td rowspan="2">积分均匀性</td>
					<td>UFOV</td>
					<td>
						<el-input v-model="form1.integralUniformityUFOV_2" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form1.integralUniformityUFOVSymbol_2"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30% !important;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form1.integralUniformityUFOVStandard_2" class="input-line border" style="width: 30% !important;"/>
					</td>
				</tr>
				<tr>
					<td>CFOV</td>
					<td>
						<el-input v-model="form1.integralUniformityCFOV_2" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form1.integralUniformityCFOV_symbol_2"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30% !important;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form1.integralUniformityCFOV_standard_2" class="input-line border" style="width: 30% !important;"/>
					</td>
				</tr>
				<tr>
					<td rowspan="2">微分均匀性</td>
					<td>UFOV</td>
					<td>
						<el-input v-model="form1.differentialUniformityUFOV_2" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form1.differentialUniformityUFOV_symbol_2"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30% !important;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form1.differentialUniformityUFOV_standard_2" class="input-line border" style="width: 30% !important;"/>
					</td>
				</tr>
				<tr>
					<td>CFOV</td>
					<td>
						<el-input v-model="form1.differentialUniformityCFOV_2" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form1.differentialUniformityCFOV_symbol_2"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30% !important;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form1.differentialUniformityCFOV_standard_2" class="input-line border" style="width: 30% !important;"/>
					</td>
				</tr>
			</table>
		</div>

		<!-- 2.固有空间分辨率和固有空间线性------------------------------------------------------------------------ -->
		<div id="table2">
			<div class="innertitle">
				2.固有空间分辨率和固有空间线性：
			</div>
			
			<div class="tip-30">
				使用模体：点源（<sup>99m</sup>Tc）+铅；源距：<el-input v-model="form2.spacing" class="input-line"/>m（>1.5m以上）；
				每个探头总计数：20M（2.0E+07)；<br> 矩阵：512×512，计数率：<el-input v-model="form2.countingRate" class="input-line"/>kcps（要求≤2.0×10<sup>4</sup>s<sup>-1</sup>）
			</div>

			<table border="1" cellspacing="0" cellpadding="0" align="center">
				<tr>
					<td colspan="4">检测项目</td>
					<td colspan="3">结果</td>
				</tr>

				<tr>
					<td rowspan="8" width="10%">固有空间分辨率（mm）</td>
					<td rowspan="4" width="10%">探头1</td>
					<td rowspan="2" colspan="2" width="25%">UFOV</td>
					<td width="10%">X方向</td>
					<td width="30%">
						<el-input v-model="form2.ufov_X_1" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form2.symbolUFOV_X_1"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30%;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form2.factorySUFOV_X_1" class="input-line border" style="width: 30% !important;"/>
					</td>
					<td rowspan="2" class="result" width="20%">
						<span>{{form2.ufov_1}}</span>
					</td>
				</tr>
				<tr>
					<td>Y方向</td>
					<td>
						<el-input v-model="form2.ufov_Y_1" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form2.symbolUFOV_Y_1"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30%;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form2.factorySUFOV_Y_1" class="input-line border" style="width: 30% !important;"/>
					</td>
				</tr>
				<tr>
					<td rowspan="2" colspan="2">CFOV</td>
					<td>X方向</td>
					<td>
						<el-input v-model="form2.cfov_X_1" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form2.symbolCFOV_X_1"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30%;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form2.factorySCFOV_X_1" class="input-line border" style="width: 30% !important;"/>
					</td>
					<td rowspan="2" class="result">
						<span>{{form2.cfov_1}}</span>
					</td>
				</tr>
				<tr>
					<td>Y方向</td>
					<td>
						<el-input v-model="form2.cfov_Y_1" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form2.symbolCFOV_Y_1"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30%;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form2.factorySCFOV_Y_1" class="input-line border" style="width: 30% !important;"/>
					</td>
				</tr>
				<tr>
					<td rowspan="4">探头2</td>
					<td rowspan="2" colspan="2">UFOV</td>
					<td>X方向</td>
					<td>
						<el-input v-model="form2.ufov_X_2" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form2.symbolUFOV_X_2"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30% !important;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form2.factorySUFOV_X_2" class="input-line border" style="width: 30% !important;"/>
					</td>
					<td rowspan="2" class="result">
						<span>{{form2.ufov_2}}</span>
					</td>
				</tr>
				<tr>
					<td>Y方向</td>
					<td>
						<el-input v-model="form2.ufov_Y_2" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form2.symbolUFOV_Y_2"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30% !important;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form2.factorySUFOV_Y_2" class="input-line border" style="width: 30% !important;"/>
					</td>
				</tr>
				<tr>
					<td rowspan="2" colspan="2">CFOV</td>
					<td>X方向</td>
					<td>
						<el-input v-model="form2.cfov_X_2" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form2.symbolCFOV_X_2"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30% !important;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form2.factorySFOV_X_2" class="input-line border" style="width: 30% !important;"/>
					</td>
					<td rowspan="2" class="result">
						<span>{{form2.cfov_2}}</span>
					</td>
				</tr>
				<tr>
					<td>Y方向</td>
					<td>
						<el-input v-model="form2.cfov_Y_2" class="input-line border" style="width: 30% !important;"/>
						<el-select
							v-model="form2.symbolCFOV_Y_2"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 30% !important;"
						>
							<el-option 
								v-for="item in symbolList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
						<el-input v-model="form2.factorySCFOV_Y_2" class="input-line border" style="width: 30% !important;"/>
					</td>
				</tr>

				<tr>
					<td rowspan="16">固有空间线性（mm）</td>
					<td rowspan="8">探头1</td>
					<td rowspan="4">微分线性</td>
					<td rowspan="2">UFOV</td>
					<td>X方向</td>
					<td><el-input v-model="form2.differentialLinearityUFOV_X_1"/></td>
					<td rowspan="2" class="result">
						<span>{{form2.differentialLinearityUFOV_1}}</span>
					</td>
				</tr>
				<tr>
					<td>Y方向</td>
					<td><el-input v-model="form2.differentialLinearityUFOV_Y_1"/></td>
				</tr>
				<tr>
					<td rowspan="2">CFOV</td>
					<td>X方向</td>
					<td><el-input v-model="form2.differentialLinearityCFOV_X_1"/></td>
					<td rowspan="2" class="result">
						<span>{{form2.differentialLinearityCFOV_1}}</span>
					</td>
				</tr>
				<tr>
					<td>Y方向</td>
					<td><el-input v-model="form2.differentialLinearityCFOV_Y_1"/></td>
				</tr>
				
				<tr>
					<td rowspan="4">绝对线性</td>
					<td rowspan="2">UFOV</td>
					<td>X方向</td>
					<td><el-input v-model="form2.absoluteLinearityUFOV_X_1"/></td>
					<td rowspan="2" class="result">
						<span>{{form2.absoluteLinearityUFOV_1}}</span>
					</td>
				</tr>
				<tr>
					<td>Y方向</td>
					<td><el-input v-model="form2.absoluteLinearityUFOV_Y_1"/></td>
				</tr>
				<tr>
					<td rowspan="2">CFOV</td>
					<td>X方向</td>
					<td><el-input v-model="form2.absoluteLinearityCFOV_X_1"/></td>
					<td rowspan="2" class="result">
						<span>{{form2.absoluteLinearityCFOV_1}}</span>
					</td>
				</tr>
				<tr>
					<td>Y方向</td>
					<td><el-input v-model="form2.absoluteLinearityCFOV_Y_1"/></td>
				</tr>

				<tr>
					<td rowspan="8">探头2</td>
					<td rowspan="4">微分线性</td>
					<td rowspan="2">UFOV</td>
					<td>X方向</td>
					<td><el-input v-model="form2.differentialLinearityUFOV_X_2"/></td>
					<td rowspan="2" class="result">
						<span>{{form2.differentialLinearityUFOV_2}}</span>
					</td>
				</tr>
				<tr>
					<td>Y方向</td>
					<td><el-input v-model="form2.differentialLinearityUFOV_Y_2"/></td>
				</tr>
				<tr>
					<td rowspan="2">CFOV</td>
					<td>X方向</td>
					<td><el-input v-model="form2.differentialLinearityCFOV_X_2"/></td>
					<td rowspan="2" class="result">
						<span>{{form2.differentialLinearityCFOV_2}}</span>
					</td>
				</tr>
				<tr>
					<td>Y方向</td>
					<td><el-input v-model="form2.differentialLinearityCFOV_Y_2"/></td>
				</tr>
				<tr>
					<td rowspan="4">绝对线性</td>
					<td rowspan="2">UFOV</td>
					<td>X方向</td>
					<td><el-input v-model="form2.absoluteLinearityUFOV_X_2"/></td>
					<td rowspan="2" class="result">
						<span>{{form2.absoluteLinearityUFOV_2}}</span>
					</td>
				</tr>
				<tr>
					<td>Y方向</td>
					<td><el-input v-model="form2.absoluteLinearityUFOV_Y_2"/></td>
				</tr>
				<tr>
					<td rowspan="2">CFOV</td>
					<td>X方向</td>
					<td><el-input v-model="form2.absoluteLinearityCFOV_X_2"/></td>
					<td rowspan="2" class="result">
						<span>{{form2.absoluteLinearityCFOV_2}}</span>
					</td>
				</tr>
				<tr>
					<td>Y方向</td>
					<td><el-input v-model="form2.absoluteLinearityCFOV_Y_2"/></td>
				</tr>
			</table>
		</div>

		<!-- 3.固有最大计数率------------------------------------------------------------------------ -->
		<div id="table3">
			<div class="innertitle">
				3.固有最大计数率：
			</div>
			<div class="tip-30">
				使用模体：点源（<sup>99m</sup>Tc）
			</div>

			<table border="1" cellspacing="0" cellpadding="0" align="center">
				<tr>
					<td colspan="2">检测项目</td>
					<td>结果</td>
				</tr>

				<tr  width="100%">
					<td rowspan="2"  width="10%">固有最大计数率（s<sup>-1</sup>）</td>
					<td width="10%">探头1</td>
					<td width="20%"><el-input v-model="form3.inherentMaximumCountRate_1"/></td>
				</tr>
				<tr>
					<td>探头2</td>
					<td><el-input v-model="form3.inherentMaximumCountRate_2"/></td>
				</tr>
			</table>
		</div>

		<!-- 4.系统平面灵敏度------------------------------------------------------------------------ -->
		<div id="table4">
			<div class="innertitle">
				4.系统平面灵敏度：
			</div>
			<div class="tip-30">
				使用模体：平面源（<sup>99m</sup>Tc）；源距：10cm；准直器类型：LEHR；矩阵：256×256； <br>
				放射源活度（针内）A<sub>针内</sub>：<el-input v-model="form4.activityWithin" class="input-line"/>
				空针活度A<sub>空针</sub>：<el-input v-model="form4.activityEmpty" class="input-line"/>
				净活度A<sub>0</sub>：<el-input v-model="form4.activityClear" class="input-line"/> <br>
				测量活度时刻t<sub>活度</sub>：
				<el-select
					v-model="form4.activityTime_s"
					placeholder=""
					size="mini"
					class="symbolselect"
					clearable
					style="width: 70px !important;"
				>
					<el-option 
						v-for="item in timeList"
						:key="item.value"
						:label="item.label"
						:value="item.value">
					</el-option>
				</el-select>:
				<el-select
					v-model="form4.activityTime_e"
					placeholder=""
					size="mini"
					class="symbolselect"
					clearable
					style="width: 70px !important;"
				>
					<el-option 
						v-for="item in timeList"
						:key="item.value"
						:label="item.label"
						:value="item.value">
					</el-option>
				</el-select>
				采集总时间T<sub>采集</sub>：300ms；核素半衰期T<sub>1/2</sub>：6.02h
			</div>

			<table border="1" cellspacing="0" cellpadding="0" align="center">
				<tr>
					<td colspan="2">检测项目</td>
					<td width="20%">开始采集时刻t<sub>采集</sub></td>
					<td width="15%">采集总计数N</td>
					<td>平均值</td>
					<td width="20%">检测结果S（s<sup>-1</sup> · MBq<sup>-1</sup>）</td>
				</tr>
				<tr>
					<td rowspan="6" width="15%">系统平面灵敏度S</td>
					<td rowspan="3" width="10%">探头1</td>
					<td>
						<!-- <el-input v-model="form4.startCollectionTime_1_1"/> -->
						<el-select
							v-model="form4.startCollectionTime_1_1_s"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 70px !important;"
						>
							<el-option 
								v-for="item in timeList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>:
						<el-select
							v-model="form4.startCollectionTime_1_1_e"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 70px !important;"
						>
							<el-option 
								v-for="item in timeList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
					</td>
					<td><el-input v-model="form4.totalCollectionCount_1_1"/></td>
					<td rowspan="3" width="20%" class="result">
						<span>{{form4.average_1}}</span>
					</td>
					<td rowspan="3" class="result">
						<span>{{form4.result_1}}</span>
					</td>
				</tr>
				<tr>
					<td>
						<!-- <el-input v-model="form4.startCollectionTime_1_2"/> -->
						<el-select
							v-model="form4.startCollectionTime_1_2_s"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 70px !important;"
						>
							<el-option 
								v-for="item in timeList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>:
						<el-select
							v-model="form4.startCollectionTime_1_2_e"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 70px !important;"
						>
							<el-option 
								v-for="item in timeList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
					</td>
					<td><el-input v-model="form4.totalCollectionCount_1_2"/></td>
				</tr>
				<tr>
					<td>
						<!-- <el-input v-model="form4.startCollectionTime_1_3"/> -->
						<el-select
							v-model="form4.startCollectionTime_1_3_s"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 70px !important;"
						>
							<el-option 
								v-for="item in timeList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>:
						<el-select
							v-model="form4.startCollectionTime_1_3_e"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 70px !important;"
						>
							<el-option 
								v-for="item in timeList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
					</td>
					<td><el-input v-model="form4.totalCollectionCount_1_3"/></td>
				</tr>
				<tr>
					<td rowspan="3">探头2</td>
					<td>
						<!-- <el-input v-model="form4.startCollectionTime_2_1"/> -->
						<el-select
							v-model="form4.startCollectionTime_2_1_s"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 70px !important;"
						>
							<el-option 
								v-for="item in timeList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>:
						<el-select
							v-model="form4.startCollectionTime_2_1_e"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 70px !important;"
						>
							<el-option 
								v-for="item in timeList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
					</td>
					<td><el-input v-model="form4.totalCollectionCount_2_1"/></td>
					<td rowspan="3" class="result">
						<span>{{form4.average_2}}</span>
					</td>
					<td rowspan="3" class="result">
						<span>{{form4.result_2}}</span>
					</td>
				</tr>
				<tr>
					<td>
						<!-- <el-input v-model="form4.startCollectionTime_2_2"/> -->
						<el-select
							v-model="form4.startCollectionTime_2_2_s"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 70px !important;"
						>
							<el-option 
								v-for="item in timeList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>:
						<el-select
							v-model="form4.startCollectionTime_2_2_e"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 70px !important;"
						>
							<el-option 
								v-for="item in timeList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
					</td>
					<td><el-input v-model="form4.totalCollectionCount_2_2"/></td>
				</tr>
				<tr>
					<td>
						<!-- <el-input v-model="form4.startCollectionTime_2_3"/> -->
						<el-select
							v-model="form4.startCollectionTime_2_3_s"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 70px !important;"
						>
							<el-option 
								v-for="item in timeList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>:
						<el-select
							v-model="form4.startCollectionTime_2_3_e"
							placeholder=""
							size="mini"
							class="symbolselect"
							clearable
							style="width: 70px !important;"
						>
							<el-option 
								v-for="item in timeList"
								:key="item.value"
								:label="item.label"
								:value="item.value">
							</el-option>
						</el-select>
					</td>
					<td><el-input v-model="form4.totalCollectionCount_2_3"/></td>
				</tr>
			</table>
			<div class="tip-50">
				<i>$ A_0 = A_{针内} - A_{空针} $</i>
				<i>$ S = N × e ^ {[(t_{采集} - t_{活度}) × ln2/T_{1/2}]} × (ln2 / T_{1/2}) × [1 - e ^{(-T_{采集} × ln2/T_{1/2})}] ^ {-1} × A_0^{-1} $</i>
			</div>
		</div>

		<!-- 5.系统空间分辨率------------------------------------------------------------------------ -->
		<div id="table5">
			<div class="innertitle">
				5.系统空间分辨率：
			</div>
			（ <el-checkbox v-model="form5.a">状态检测无此项</el-checkbox>）

			<div class="tip-30">
				使用模体：双线源（<sup>99m</sup>Tc）；模体与探头距离：10cm；每个探头总计数：1M（1E+06)；矩阵：512×512 <br>
				计数率：<el-input v-model="form5.kcps" class="input-line"/>kcps；
				准直器类型：LEHR
			</div>

			<table border="1" cellspacing="0" cellpadding="0" align="center">
				<tr>
					<td colspan="3">检测项目</td>
					<td colspan="2">结果</td>
				</tr>
				<tr>
					<td rowspan="4">系统空间分辨率（mm）</td>
					<td rowspan="2" width="20%">探头1</td>
					<td width="25%">X轴方向</td>
					<td width="25%"><el-input v-model="form5.probe_X_1"/></td>
					<td rowspan="2" width="20%" class="result">
						<span>{{form5.average_1}}</span>
					</td>
				</tr>
				<tr>
					<td>Y轴方向</td>
					<td><el-input v-model="form5.probe_Y_1"/></td>
				</tr>
				<tr>
					<td rowspan="2">探头2</td>
					<td>X轴方向</td>
					<td><el-input v-model="form5.probe_X_2"/></td>
					<td rowspan="2" class="result">
						<span>{{form5.average_2}}</span>
					</td>
				</tr>
				<tr>
					<td>Y轴方向</td>
					<td><el-input v-model="form5.probe_Y_2"/></td>
				</tr>
			</table>
		</div>

		<!-- 6.断层空间分辨率------------------------------------------------------------------------ -->
		<div id="table6">
			<div class="innertitle">
				6.断层空间分辨率：
			</div>

			<div class="tip-30">
				使用模体：点源（<sup>99m</sup>Tc）；旋转半径：15cm；采集：120帧（3°/帧）；每帧计数：3k（3E+03）；<br>
				准直器类型：LEHR
				矩阵：128×128；
				图像重建方式<el-input v-model="form6.imageReconstructionMethod" data-cusValidate="text" style="width: 200px" />。
			</div>

			<table border="1" cellspacing="0" cellpadding="0" align="center">
				<tr>
					<td>检测项目</td>
					<td colspan="4">结果</td>
				</tr>
				<tr>
					<td width="2%" rowspan="3">断层空间分辨率（mm）</td>
					<td width="2%" rowspan="2">横断面</td>
					<td width="2%">X方向</td>
					<td width="2%"><el-input v-model="form6.crossSection_X"/></td>
					<td width="2%" rowspan="2" class="result">
						<span>{{form6.average}}</span>
					</td>
				</tr>
				<tr>
					<td>Y方向</td>
					<td><el-input v-model="form6.crossSection_Y"/></td>
				</tr>
				<tr>
					<td colspan="2">轴向</td>
					<td colspan="2"><el-input v-model="form6.axial"/></td>
				</tr>
			</table>
		</div>

		<!-- 7.全身成像系统空间分辨率------------------------------------------------------------------------ -->
		<div id="table7">
			<div class="innertitle">
				7.全身成像系统空间分辨率：
			</div>
			<div class="tip-30">
				使用模体：双线源（<sup>99m</sup>Tc）；模体与探头距离：10cm；矩阵：256×1024；扫描长度：195cm；走床速度：15cm/min <br>
				准直器类型：LEHR
			</div>

			<table border="1" cellspacing="0" cellpadding="0" align="center">
				<tr>
					<td colspan="3">检测项目</td>
					<td colspan="2">结果</td>
				</tr>
				<tr>
					<td rowspan="4">全身成像系统空间分辨率（mm）</td>
					<td rowspan="2" width="20%">探头1</td>
					<td width="20%">水平方向</td>
					<td width="23%"><el-input v-model="form7.probe_level_1"/></td>
					<td rowspan="2" width="23%" class="result">
						<span>{{form7.average_1}}</span>
					</td>
				</tr>
				<tr>
					<td>垂直方向</td>
					<td><el-input v-model="form7.probe_vertical_1"/></td>
				</tr>
				<tr>
					<td rowspan="2">探头2</td>
					<td>水平方向</td>
					<td><el-input v-model="form7.probe_level_2"/></td>
					<td rowspan="2" class="result">
						<span>{{form7.average_2}}</span>
					</td>
				</tr>
				<tr>
					<td>垂直方向</td>
					<td><el-input v-model="form7.probe_vertical_2"/></td>
				</tr>
			</table>
		</div>

  </div>
</template>

<script>
import { getInfoById40, inherentUniformity, resolutionLinear, countRate, sensitivity, systemResolution, 
	faultResolution, imagingSpatialResolution } from "@/api/testItem/item40";

export default {
  name: "testItem40",
  data() {
    return {
			checked: [],
			symbolList: [
				{
					label: "<",
					value: 1,
				},
				{
					label: ">",
					value: 3,
				},
				{
					label: "≤",
					value: 0,
				},
				{
					label: "≥",
					value: 2,
				},
				{
					label: "=",
					value: 4,
				},
			],
			form: {
				
			},
			// 表单-1、固有均匀性
			form1: {

			},
			// 表单-2、固有空间分辨率和固有空间线性
			form2: {

			},
			// 表单-3、固有最大计数率
			form3: {

			},
			// 表单-4、系统平面灵敏度
			form4: {

			},
			// 表单-5、系统空间分辨率
			form5: {

			},
			// 表单-6、断层空间分辨率
			form6: {

			},
			// 表单-7、全身成像系统空间分辨率
			form7: {

			},
			itemsId: null,
			timeList: [],
    };
  },
  props: {
		// 基本信息数据
    basicForm: {
			type: Object,
      default: () => {
				return {}
			},
    },
  },
  created() {
		for (let index = 0; index < 60; index++) {
			let t = index;
			if (t < 10) {
				t = "0" + index;
			}else {
				t = "" + index;
			}
			this.timeList.push({
				label: t,
				value: t,
			})
		}
		
		this.$nextTick(()=>{
			// 获取详情
			getInfoById40(this.basicForm.resultId).then(response => {
				this.itemsId =  response.data?.itemsId;
				// 1、固有均匀性
				this.form1 =  response.data?.inherentUniformity || {};
				// 2、固有空间分辨率和固有空间线性
				this.form2 =  response.data?.inherentSpatialResolutionLinear || {};
				// 3、固有最大计数率
				this.form3 =  response.data?.inherentMaximumCountRate || {};
				// 4、系统平面灵敏度
				this.form4 =  response.data?.planarSensitivity || {};

				this.splitProp("activityTime");
				this.splitProp("startCollectionTime_1_1");
				this.splitProp("startCollectionTime_1_2");
				this.splitProp("startCollectionTime_1_3");
				this.splitProp("startCollectionTime_2_1");
				this.splitProp("startCollectionTime_2_2");
				this.splitProp("startCollectionTime_2_3");
				// 5、系统空间分辨率
				this.form5 =  response.data?.systemSpatialResolution || {};
				// 6、断层空间分辨率
				this.form6 =  response.data?.faultSpatialResolution || {};
				// 7、全身成像系统空间分辨率
				this.form7 =  response.data?.bodyImagingSpatialResolution || {};
			}).catch((response) => {
				this.$emit("loadingchange", true);
			});
			this.bindMethod()
		})
  },
  methods: {
		// 提交检测项信息
		submitTestForm(index) {
			this.$nextTick(() => {
				this.$emit("loadingchange", true);
				if (index == "form") {
					this.form.itemsId = this.itemsId;
				} else {
					this[`form${index}`].itemsId = this.itemsId;
				}
				switch (index) {
					// 1、固有均匀性
					case 1:
						inherentUniformity(this.form1).then((response) => {
							response.data ? this.form1 = response.data : "";
							this.$emit("loadingchange", false);
						})
						break;
					// 2、固有空间分辨率和固有空间线性
					case 2:
						resolutionLinear(this.form2).then((response) => {
							response.data ? this.form2 = response.data : "";
							this.$emit("loadingchange", false);
						})
						break;
					case 3:
						// 3、固有最大计数率
						countRate(this.form3).then((response) => {
							response.data ? this.form3 = response.data : "";
							this.$emit("loadingchange", false);
						})
						break;
					case 4:
						// 4、系统平面灵敏度
						this.mergeProp("activityTime");
						this.mergeProp("startCollectionTime_1_1");
						this.mergeProp("startCollectionTime_1_2");
						this.mergeProp("startCollectionTime_1_3");
						this.mergeProp("startCollectionTime_2_1");
						this.mergeProp("startCollectionTime_2_2");
						this.mergeProp("startCollectionTime_2_3");

						sensitivity(this.form4).then((response) => {
							response.data ? this.form4 = response.data : "";

							this.splitProp("activityTime");
							this.splitProp("startCollectionTime_1_1");
							this.splitProp("startCollectionTime_1_2");
							this.splitProp("startCollectionTime_1_3");
							this.splitProp("startCollectionTime_2_1");
							this.splitProp("startCollectionTime_2_2");
							this.splitProp("startCollectionTime_2_3");

							this.$emit("loadingchange", false);
						})
						break;
					case 5:
						// 5、系统空间分辨率
						systemResolution(this.form5).then((response) => {
							response.data ? this.form5 = response.data : "";
							this.$emit("loadingchange", false);
						})
						break;
					case 6:
						// 6、断层空间分辨率
						faultResolution(this.form6).then((response) => {
							response.data ? this.form6 = response.data : "";
							this.$emit("loadingchange", false);
						})
						break;
					case 7:
						// 7、全身成像系统空间分辨率
						imagingSpatialResolution(this.form7).then((response) => {
							response.data ? this.form7 = response.data : "";
							this.$emit("loadingchange", false);
						})
						break;
				}
			})
		},
		// 绑定请求
		bindMethod() {
			let itemsLength = 7;
			for (let index = 0; index < itemsLength; index++) {
				let tableInputs = document.getElementById(`table${index + 1}`).getElementsByTagName("input");
				for (let i = 0; i < tableInputs.length; i++) {
					this.bind(tableInputs[i], () => {
						this.submitTestForm(index + 1);
					})
				}
			}
		},
		// 分割属性
		splitProp(prop) {
			let arr = this.form4[prop]?.split(":") || [];
			this.$set(this.form4, `${prop}_s`, arr[0] == "undefined" ? "" : arr[0]);
			this.$set(this.form4, `${prop}_e`, arr[1] == "undefined" ? "" : arr[1]);
		},
		// 合并属性
		mergeProp(prop) {
			this.$set(this.form4, prop, this.form4[`${prop}_s`] + ":" + this.form4[`${prop}_e`]);
		}
  },
};
</script>

<style lang="scss" scoped>
@import '../content.scss';
</style>